home *** CD-ROM | disk | FTP | other *** search
- Path: gwen.pcug.co.uk!altheim!broldham
- Newsgroups: comp.lang.c
- Message-ID: <1176@altheim.win-uk.net>
- References: <cerebus.34.000DD98A@voicenet.com><4gqm3pINNkbu@keats.ugrad.cs.ubc.ca>
- Reply-To: broldham@altheim.win-uk.net (Brian R. Oldham)
- From: broldham@altheim.win-uk.net (Brian R. Oldham)
- Date: Wed, 28 Feb 1996 11:17:17 GMT
- Subject: Re: Checking For Keyboard Input
-
-
- In article <4gqm3pINNkbu@keats.ugrad.cs.ubc.ca>, Kazimir Kylheku (c2a192@ugrad.cs.ubc.ca) writes:
- >In article <cerebus.34.000DD98A@voicenet.com>,
- >aLEX <cerebus@voicenet.com> wrote:
- >>Hello fellow C programmers,
- >
- >That's a little presumptious, don't you think?
- >
-
- Also of you to say so, Kazi.
-
- >> Is there anyway to check if keyboard input has been entered without
- >>actually stalling the excution of the code until the user presses a key. I
- >>would really like to do this but I can't seem to find any way. If you know of
- >>a way PLEASE email me or post it. Thank you in advance.
- >
- >This question comes up not fewer than 10 times a week in this newsgroup, yet it
- >has nothing to do with the C language. It is more than adequatly covered in the
- >FAQ, as you would know if you had read it.
- >--
-
- If you had not been so preoccupied with your annoyance at aLEX's
- greeting you might have answered his query - or ignored it. A simple
- brief mention of kbhit() or equivalent, or a call to whatever interrupt
- pauses the keyboard would have been helpful, but you may be assured,
- none of us appreciate supercilious resposes such as this. Are you going
- to post this crap *every* time a newbie asks a question?
-
-
-
- ---
- Brian Oldham
- Hucknall UK
- !...Gesundbrunnen
-
-
-
-
-
-
-
-
-